home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’96 / O Boy / Source / PropertyValue_pd.h < prev   
Encoding:
C/C++ Source or Header  |  1996-06-21  |  695 b   |  43 lines  |  [TEXT/R*ch]

  1. #pragma once on
  2. /*
  3.     PropertyValue_pd.h
  4.     © Bob Boylan 1996
  5.  
  6.     Revision History
  7.     MacHack 1996    initial creation
  8. */
  9. #include "BaseTypes.h"
  10. #include "Clone_ut.h"
  11. #include "UAppleEventsMgr.h"
  12.  
  13. #include <string>
  14.  
  15.  
  16.  
  17. class PropertyValue_pd 
  18. {
  19. public:
  20.     // ctor
  21.                 PropertyValue_pd( );
  22.                 PropertyValue_pd( PropertyValue_pd &inOther );
  23.                 PropertyValue_pd( DescType inPropertyID, 
  24.                                   Clone_ut<StAEDescriptor> inValue,
  25.                                   string & inPropertyName );
  26.     // dtor
  27.         virtual    ~PropertyValue_pd();
  28.     
  29.     // conversions
  30.         virtual
  31.         operator    AEDesc&() { return (*_Value).mDesc; }
  32.  
  33.     // data
  34.         DescType                    _PropID;
  35.         Clone_ut<StAEDescriptor>    _Value;
  36.         string                        _PropertyName;
  37.     
  38. protected:
  39.  
  40. private:
  41.  
  42. };
  43.